webpackJsonp([230],{

/***/ 1747:
/***/ (function(module, exports) {

module.exports = {
  "content": [
    "section",
    [
      "p",
      "Alert component for feedback."
    ],
    [
      "h2",
      "When To Use"
    ],
    [
      "ul",
      [
        "li",
        [
          "p",
          "When you need to show alert messages to users."
        ]
      ],
      [
        "li",
        [
          "p",
          "When you need a persistent static container which is closable by user actions."
        ]
      ]
    ]
  ],
  "meta": {
    "category": "Components",
    "type": "Feedback",
    "title": "Alert",
    "filename": "components/alert/index.en-US.md"
  },
  "toc": [
    "ul",
    [
      "li",
      [
        "a",
        {
          "className": "bisheng-toc-h2",
          "href": "#When-To-Use",
          "title": "When To Use"
        },
        "When To Use"
      ]
    ],
    [
      "li",
      [
        "a",
        {
          "className": "bisheng-toc-h2",
          "href": "#API",
          "title": "API"
        },
        "API"
      ]
    ]
  ],
  "api": [
    "section",
    [
      "h2",
      "API"
    ],
    [
      "table",
      [
        "thead",
        [
          "tr",
          [
            "th",
            "Property"
          ],
          [
            "th",
            "Description"
          ],
          [
            "th",
            "Type"
          ],
          [
            "th",
            "Default"
          ]
        ]
      ],
      [
        "tbody",
        [
          "tr",
          [
            "td",
            "afterClose"
          ],
          [
            "td",
            "Called when close animation is finished"
          ],
          [
            "td",
            "() => void"
          ],
          [
            "td",
            "-"
          ]
        ],
        [
          "tr",
          [
            "td",
            "banner"
          ],
          [
            "td",
            "Whether to show as banner"
          ],
          [
            "td",
            "boolean"
          ],
          [
            "td",
            "false"
          ]
        ],
        [
          "tr",
          [
            "td",
            "closable"
          ],
          [
            "td",
            "Whether Alert can be closed"
          ],
          [
            "td",
            "boolean"
          ],
          [
            "td",
            "-"
          ]
        ],
        [
          "tr",
          [
            "td",
            "closeText"
          ],
          [
            "td",
            "Close text to show"
          ],
          [
            "td",
            "string",
            "|",
            "ReactNode"
          ],
          [
            "td",
            "-"
          ]
        ],
        [
          "tr",
          [
            "td",
            "description"
          ],
          [
            "td",
            "Additional content of Alert"
          ],
          [
            "td",
            "string",
            "|",
            "ReactNode"
          ],
          [
            "td",
            "-"
          ]
        ],
        [
          "tr",
          [
            "td",
            "icon"
          ],
          [
            "td",
            "Custom icon, effective when ",
            [
              "code",
              "showIcon"
            ],
            " is ",
            [
              "code",
              "true"
            ]
          ],
          [
            "td",
            "ReactNode"
          ],
          [
            "td",
            "-"
          ]
        ],
        [
          "tr",
          [
            "td",
            "message"
          ],
          [
            "td",
            "Content of Alert"
          ],
          [
            "td",
            "string",
            "|",
            "ReactNode"
          ],
          [
            "td",
            "-"
          ]
        ],
        [
          "tr",
          [
            "td",
            "showIcon"
          ],
          [
            "td",
            "Whether to show icon"
          ],
          [
            "td",
            "boolean"
          ],
          [
            "td",
            "false, in ",
            [
              "code",
              "banner"
            ],
            " mode default is true"
          ]
        ],
        [
          "tr",
          [
            "td",
            "type"
          ],
          [
            "td",
            "Type of Alert styles, options: ",
            [
              "code",
              "success"
            ],
            ", ",
            [
              "code",
              "info"
            ],
            ", ",
            [
              "code",
              "warning"
            ],
            ", ",
            [
              "code",
              "error"
            ]
          ],
          [
            "td",
            "string"
          ],
          [
            "td",
            [
              "code",
              "info"
            ],
            ", in ",
            [
              "code",
              "banner"
            ],
            " mode default is ",
            [
              "code",
              "warning"
            ]
          ]
        ],
        [
          "tr",
          [
            "td",
            "onClose"
          ],
          [
            "td",
            "Callback when Alert is closed"
          ],
          [
            "td",
            "(e: MouseEvent) => void"
          ],
          [
            "td",
            "-"
          ]
        ]
      ]
    ]
  ]
};

/***/ })

});